package com.java.jvm;
enum Gender{//Gender.class,所有枚举类型都默认继承Enum类型
    MALE,FEMALE;
}
public class GenderTests {//GenderTests.class
    public static void main(String[] args) {

        System.out.println(Gender.MALE);
        Enum e1=Gender.FEMALE;
    }
}
